#ifndef STATEMENTEXECUTOR_H_JM_20121205
#define STATEMENTEXECUTOR_H_JM_20121205

#include <string>

namespace jmlib {

	struct StatementExecutor {
		
		struct DataTarget {
			virtual void addValue(size_t col, int v) = 0;
			virtual void addValue(size_t col, const std::string& v) = 0;
		};

		virtual void execute(const std::string& statement, DataTarget*) = 0;
	};

} // namespace jmlib


#endif
